package com.imooc.service;

import com.imooc.pojo.SearchRecords;
import com.imooc.pojo.Videos;
import com.imooc.pojo.vo.VideosVo;
import com.imooc.utils.PageResult;

import java.util.List;

public interface VideoService {

    //保存视频
    Videos saveVideos(Videos videos);

    //保存视频
    PageResult<VideosVo> list(Videos video, Integer isSaveRecord, Integer pageNum, Integer pageSize);
  //获取热搜词
    List<String> searchRecordsList();
}
